<!doctype html>
<html lang="en">

  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>Go20210527 今日技术分享 - 慧林淘友之达人助手</title>
    <meta name="HandheldFriendly" content="True">
    <meta name="MobileOptimized" content="320">
    <meta name="referrer" content="no-referrer">
    <meta name="description" content="慧林淘友之达人助手:交流与建议、BUG反馈。">
    <meta property="og:site_name" content="慧林淘友之达人助手" />
    <meta property="og:locale" content="nn_NO" />
    <meta property="og:type" content="article" />
    <meta property="og:url" content="https://www.lyhuilin.com/posts/go20210527/" />
    <meta property="og:title" content="Go20210527 今日技术分享" />
    <meta property="og:image" content="https://www.lyhuilin.com/apple-touch-icon.png" />
    <meta property="og:description" content="慧林淘友之达人助手:交流与建议、BUG反馈。" />

    

    <meta property="twitter:title" content="Go20210527 今日技术分享" />
    <meta property="twitter:image" content="https://www.lyhuilin.com/apple-touch-icon.png" />
    <meta property="twitter:card" content="summary" />
    <meta property="twitter:description" content="慧林淘友之达人助手:交流与建议、BUG反馈。" />

    

    <link rel="canonical" href="https://www.lyhuilin.com/posts/go20210527/">

    <link href="//cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css"
          rel="stylesheet"
          integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x"
          crossorigin="anonymous" />

    <link rel="stylesheet" href="https://www.lyhuilin.com/css/main.css" />

    

    

    <link rel="shortcut icon"
          href="https://www.lyhuilin.com/favicon.ico">

    <link href='' rel="alternate" type="application/rss+xml" title="慧林淘友之达人助手" />
    <link href="//fonts.googleapis.com/css?family=Fira+Code|Merriweather+Sans:400,700|Merriweather:400,700&display=swap"
    rel="stylesheet">

<style>
    :root {
        --font-code: "Fira Code", monospace;
        --font-content: "Merriweather", serif;
        --font-title: "Merriweather Sans", sans-serif;
    }
</style>
<script>
    var _hmt = _hmt || [];
    (function () {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?d4f2e101b391ba33a192c215809ef30f";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
  </head>

  <body>
    
  

<div class="my-4 my-md-5 header">
  <div class="container">
    <div class="row">
      <div class="col-auto offset-lg-1 d-none d-md-block">
        
          <a href="https://www.lyhuilin.com/">
            <img class="logo" src="https://www.lyhuilin.com/apple-touch-icon.png" alt="logo">
          </a>
        
      </div>
      <div class="col-auto align-self-center mr-auto">
        <a class="text-decoration-none" href="https://www.lyhuilin.com/">
          <h1 class="font-weight-bold name">
            慧林淘友之达人助手
          </h1>
        </a>

        <ul class="nav nav-primary">
          
            <li class="nav-item">
              <a class="text-uppercase nav-link text-home" href="/">
                
                Home
              </a>
            </li>
          
            <li class="nav-item">
              <a class="text-uppercase nav-link text-blog" href="https://3ae.cn">
                
                Blog
              </a>
            </li>
          
            <li class="nav-item">
              <a class="text-uppercase nav-link text-gitee" href="https://gitee.com/lyhuilin">
                
                Gitee
              </a>
            </li>
          
            <li class="nav-item">
              <a class="text-uppercase nav-link text-donations" href="/donations">
                
                Donations
              </a>
            </li>
          
            <li class="nav-item">
              <a class="text-uppercase nav-link text-Download" href="/download">
                
                Download
              </a>
            </li>
          
            <li class="nav-item">
              <a class="text-uppercase nav-link text-support" href="https://support.qq.com/products/65159">
                
                Support
              </a>
            </li>
          

          
        </ul>

        <ul class="nav nav-secondary">
          
        </ul>
      </div>
    </div>
  </div>
</div>


  <div class="content">
    <div class="container">
      <div class="row justify-content-center">
        <div class="col-md-12 col-lg-10">
          <h1 class="mx-0 mx-md-4">
            Go20210527 今日技术分享
          </h1>
          <div class="markdown">
            
  <p>2021-05-27 今日技术分享</p>
<ol>
<li>
<p>为什么Go程序占用那么大的虚拟内存？
<a href="https://mp.weixin.qq.com/s/tkAWtSJ4ebAUcQG9AmeXWA">https://mp.weixin.qq.com/s/tkAWtSJ4ebAUcQG9AmeXWA</a></p>
</li>
<li>
<p>你不知道的 Go 之 string
<a href="https://mp.weixin.qq.com/s/6miIgsZN_Fh79Aixv5BlTg">https://mp.weixin.qq.com/s/6miIgsZN_Fh79Aixv5BlTg</a></p>
</li>
<li>
<p>又吵起来了，Go 是传值还是传引用？
<a href="https://mp.weixin.qq.com/s/qsxvfiyZfRCtgTymO9LBZQ">https://mp.weixin.qq.com/s/qsxvfiyZfRCtgTymO9LBZQ</a></p>
</li>
<li>
<p>Go 编程怎么也有踩内存？
<a href="https://mp.weixin.qq.com/s/tXAP8_U63QLNj1h0ZMvXPw">https://mp.weixin.qq.com/s/tXAP8_U63QLNj1h0ZMvXPw</a></p>
</li>
<li>
<p>kubectl debug | 调试Kubernetes的最简方法
<a href="https://mp.weixin.qq.com/s/8uN2MySGlgxTed5vwqfFlA">https://mp.weixin.qq.com/s/8uN2MySGlgxTed5vwqfFlA</a></p>
</li>
<li>
<p>果然，连流程控制都这么另类
<a href="https://mp.weixin.qq.com/s/tO8CFBDZ2UsOonqARxOQUA">https://mp.weixin.qq.com/s/tO8CFBDZ2UsOonqARxOQUA</a></p>
</li>
<li>
<p>带你走进云原生技术：云原生开放运维体系探索和实践
<a href="https://mp.weixin.qq.com/s/zasjqGBDjyeg91jVaa5Xwg">https://mp.weixin.qq.com/s/zasjqGBDjyeg91jVaa5Xwg</a></p>
</li>
<li>
<p>通用连接池帮你解决资源管理难题
<a href="https://mp.weixin.qq.com/s/X-xzEzlVrEKYo78eiHwDKw">https://mp.weixin.qq.com/s/X-xzEzlVrEKYo78eiHwDKw</a></p>
</li>
<li>
<p>Go 1.17新特性
<a href="https://mp.weixin.qq.com/s/T14M_s5qOA6LKvWGgNa0Ow">https://mp.weixin.qq.com/s/T14M_s5qOA6LKvWGgNa0Ow</a></p>
</li>
<li>
<p>无限缓冲的channel(2)
<a href="https://mp.weixin.qq.com/s/wDrOBRaPqHx6g-Ir-Yx8kA">https://mp.weixin.qq.com/s/wDrOBRaPqHx6g-Ir-Yx8kA</a></p>
</li>
<li>
<p>如何运行并行功能测试
<a href="https://medium.com/fiverr-engineering/running-parallel-functional-tests-2f6609bfbf4e">https://medium.com/fiverr-engineering/running-parallel-functional-tests-2f6609bfbf4e</a></p>
</li>
<li>
<p>Go 中一些不曾注意的点
<a href="https://arash-cordi.medium.com/dark-corners-of-go-4e29aafcd4b9">https://arash-cordi.medium.com/dark-corners-of-go-4e29aafcd4b9</a></p>
</li>
<li>
<p>如何像专家一样编写 Golang 基准测试
<a href="https://hackernoon.com/how-to-write-benchmarks-in-golang-like-an-expert-0w1834gs">https://hackernoon.com/how-to-write-benchmarks-in-golang-like-an-expert-0w1834gs</a></p>
</li>
<li>
<p>详解 Go 空结构体的 3 种使用场景
<a href="https://mp.weixin.qq.com/s/zbYIdB0HlYwYSQRXFFpqSg">https://mp.weixin.qq.com/s/zbYIdB0HlYwYSQRXFFpqSg</a></p>
</li>
<li>
<p>Promtheus rules lint 工具
<a href="https://github.com/cloudflare/pint">https://github.com/cloudflare/pint</a></p>
</li>
<li>
<p>详解Go语言的栈跟踪
<a href="https://github.com/DataDog/go-profiler-notes/blob/main/stack-traces.md">https://github.com/DataDog/go-profiler-notes/blob/main/stack-traces.md</a></p>
</li>
<li>
<p>关于go结构体字段布局优化
<a href="https://dev.to/deleplace/data-oriented-ant-in-go-3eki">https://dev.to/deleplace/data-oriented-ant-in-go-3eki</a></p>
</li>
<li>
<p>使用Go实现《Head First Design Patterns》中的设计模式</p>
</li>
</ol>
<p>5.使用taildrop在终端间安全的发送文件
<a href="https://faun.pub/head-first-design-patterns-using-go-introduction-d9f05a4c243a">https://faun.pub/head-first-design-patterns-using-go-introduction-d9f05a4c243a</a></p>
<ol start="20">
<li>使用Go实现《Head First Design Patterns》中的设计模式</li>
</ol>
<p>5.使用taildrop在终端间安全的发送文件
<a href="https://tailscale.com/blog/sending-files-with-taildrop/">https://tailscale.com/blog/sending-files-with-taildrop/</a></p>
<ol start="21">
<li>
<p>Vanilla Kubernetes对Raspberry Pi来说真的太重了吗？
<a href="https://www.talos-systems.com/blog/is-vanilla-kubernetes-really-too-heavy-for-the-raspberry-pi/">https://www.talos-systems.com/blog/is-vanilla-kubernetes-really-too-heavy-for-the-raspberry-pi/</a></p>
</li>
<li>
<p>使用Go, Gin, MySQL和Docker构建blog项目
<a href="https://nizu.tech/go-blog-1">https://nizu.tech/go-blog-1</a></p>
</li>
<li>
<p>20大Dockerfile最佳实践
<a href="https://sysdig.com/blog/dockerfile-best-practices/">https://sysdig.com/blog/dockerfile-best-practices/</a></p>
</li>
<li>
<p>在kubernetes上运行consul和vault
<a href="https://testdriven.io/blog/running-vault-and-consul-on-kubernetes/">https://testdriven.io/blog/running-vault-and-consul-on-kubernetes/</a></p>
</li>
<li>
<p>使用tekton构建云原生ci/cd
<a href="https://itnext.io/cloud-native-ci-cd-with-tekton-building-custom-tasks-663e63c1f4fb">https://itnext.io/cloud-native-ci-cd-with-tekton-building-custom-tasks-663e63c1f4fb</a></p>
</li>
<li>
<p>观点：是时候停止推荐clean code了
<a href="https://qntm.org/clean">https://qntm.org/clean</a></p>
</li>
<li>
<p>关于编程语言的思考
<a href="https://itnext.io/my-thoughts-about-programming-languages-43a8d23ead1f">https://itnext.io/my-thoughts-about-programming-languages-43a8d23ead1f</a></p>
</li>
<li>
<p>redis和IO多路复用
<a href="https://zhuanlan.zhihu.com/p/24252862">https://zhuanlan.zhihu.com/p/24252862</a></p>
</li>
<li>
<p>mysql核心知识
<a href="https://zhuanlan.zhihu.com/p/363639169">https://zhuanlan.zhihu.com/p/363639169</a></p>
</li>
</ol>



          </div>
        </div>
      </div>
    </div>
  </div>

  <div class="my-4 footer">
  <div class="container">
    <div class="row justify-content-center">
      <div class="col-sm-12 col-md-6 col-lg-5">
        <div class="mx-0 mx-md-4 mb-2 text-center text-md-start">
          
            <div>
              <a class="mx-1 mr-md-2 ml-md-0 " href="https://beian.miit.gov.cn/">
                
                豫ICP备13005404号
              </a>
            </div>
          

          
            
              <a href="https://www.lyhuilin.com">白菜林</a>
            
          
        </div>
      </div>
      <div class="col-sm-12 col-md-6 col-lg-5">
        <div class="mx-0 mx-md-4 text-center text-md-end">
          

          

          
  <a href="https://github.com/clin003"
     target="_blank"
     class="mx-1 ml-md-2 mr-md-0 icon"
     aria-label="GitHub">

    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414">
      <path d="M8 0C3.58 0 0 3.582 0 8c0 3.535 2.292 6.533 5.47 7.59.4.075.547-.172.547-.385 0-.19-.007-.693-.01-1.36-2.226.483-2.695-1.073-2.695-1.073-.364-.924-.89-1.17-.89-1.17-.725-.496.056-.486.056-.486.803.056 1.225.824 1.225.824.714 1.223 1.873.87 2.33.665.072-.517.278-.87.507-1.07-1.777-.2-3.644-.888-3.644-3.953 0-.873.31-1.587.823-2.147-.09-.202-.36-1.015.07-2.117 0 0 .67-.215 2.2.82.64-.178 1.32-.266 2-.27.68.004 1.36.092 2 .27 1.52-1.035 2.19-.82 2.19-.82.43 1.102.16 1.915.08 2.117.51.56.82 1.274.82 2.147 0 3.073-1.87 3.75-3.65 3.947.28.24.54.73.54 1.48 0 1.07-.01 1.93-.01 2.19 0 .21.14.46.55.38C13.71 14.53 16 11.53 16 8c0-4.418-3.582-8-8-8"/>
    </svg>
  </a>


          

          

          

          

          

          
  <a href="mailto:hi@lyhuilin.com"
     class="mx-1 ml-md-2 mr-md-0 icon"
     aria-label="Email">

    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 16">
      <path d="M0 4v8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1H1c-.55 0-1 .45-1 1zm13 0L7 9 1 4h12zM1 5.5l4 3-4 3v-6zM2 12l3.5-3L7 10.5 8.5 9l3.5 3H2zm11-.5l-4-3 4-3v6z"/>
    </svg>
  </a>


          <a href=''
   class="mx-1 ml-md-2 mr-md-0 icon"
   aria-label="RSS">

  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414">
    <path d="M12.8 16C12.8 8.978 7.022 3.2 0 3.2V0c8.777 0 16 7.223 16 16h-3.2zM2.194 11.61c1.21 0 2.195.985 2.195 2.196 0 1.21-.99 2.194-2.2 2.194C.98 16 0 15.017 0 13.806c0-1.21.983-2.195 2.194-2.195zM10.606 16h-3.11c0-4.113-3.383-7.497-7.496-7.497v-3.11c5.818 0 10.606 4.79 10.606 10.607z"/>
  </svg>
</a>


          
        </div>
      </div>
    </div>
  </div>
</div>



    <script src="//cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js"
            integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4"
            crossorigin="anonymous"></script>

    

    

    

    
    
  </body>

</html>
